home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
ASRegistry.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
11KB
|
266 lines
;
; File: ASRegistry.a
;
; Contains: AppleScript Registry constants.
;
; Version: Technology: AppleScript 1.1
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__ASREGISTRY__') = 'UNDEFINED' THEN
__ASREGISTRY__ SET 1
IF &TYPE('__APPLEEVENTS__') = 'UNDEFINED' THEN
include 'AppleEvents.a'
ENDIF
IF &TYPE('__AEREGISTRY__') = 'UNDEFINED' THEN
include 'AERegistry.a'
ENDIF
IF &TYPE('__AEOBJECTS__') = 'UNDEFINED' THEN
include 'AEObjects.a'
ENDIF
IF FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE THEN
keyAETarget EQU 'targ' ; 0x74617267
keySubjectAttr EQU 'subj' ; 0x7375626a
; Magic 'returning' parameter:
keyASReturning EQU 'Krtn' ; 0x4b72746e
; AppleScript Specific Codes:
kASAppleScriptSuite EQU 'ascr' ; 0x61736372
kASTypeNamesSuite EQU 'tpnm' ; 0x74706e6d
; dynamic terminologies
typeAETE EQU 'aete' ; 0x61657465
typeAEUT EQU 'aeut' ; 0x61657574
kGetAETE EQU 'gdte' ; 0x67647465
kGetAEUT EQU 'gdut' ; 0x67647574
kUpdateAEUT EQU 'udut' ; 0x75647574
kUpdateAETE EQU 'udte' ; 0x75647465
kCleanUpAEUT EQU 'cdut' ; 0x63647574
kASComment EQU 'cmnt' ; 0x636d6e74
kASLaunchEvent EQU 'noop' ; 0x6e6f6f70
keyScszResource EQU 'scsz' ; 0x7363737A
typeScszResource EQU 'scsz' ; 0x7363737A
; subroutine calls
kASSubroutineEvent EQU 'psbr' ; 0x70736272
keyASSubroutineName EQU 'snam' ; 0x736e616d
; Operator Events:
; Binary:
kASAdd EQU '+ ' ; 0x2b202020
kASSubtract EQU '- ' ; 0x2d202020
kASMultiply EQU '* ' ; 0x2a202020
kASDivide EQU '/ ' ; 0x2f202020
kASQuotient EQU 'div ' ; 0x64697620
kASRemainder EQU 'mod ' ; 0x6d6f6420
kASPower EQU '^ ' ; 0x5e202020
kASEqual EQU '= '
kASNotEqual EQU '!= ' ; 0xad202020
kASGreaterThan EQU '> '
kASGreaterThanOrEqual EQU '>= '
kASLessThan EQU '< '
kASLessThanOrEqual EQU '<= '
kASComesBefore EQU 'cbfr' ; 0x63626672
kASComesAfter EQU 'cafr' ; 0x63616672
kASConcatenate EQU 'ccat' ; 0x63636174
kASStartsWith EQU 'bgwt'
kASEndsWith EQU 'ends'
kASContains EQU 'cont'
kASAnd EQU 'AND '
kASOr EQU 'OR ' ; Unary:
kASNot EQU 'NOT '
kASNegate EQU 'neg ' ; 0x6e656720
keyASArg EQU 'arg ' ; 0x61726720
; event code for the 'error' statement
kASErrorEventCode EQU 'err ' ; 0x65727220
kOSAErrorArgs EQU 'erra' ; 0x65727261
; Properties:
pLength EQU 'leng' ; 0x6c656e67
pReverse EQU 'rvse' ; 0x72767365
pRest EQU 'rest' ; 0x72657374
pInherits EQU 'c@#^' ; 0x6340235e
; User-Defined Record Fields:
keyASUserRecordFields EQU 'usrf' ; 0x75737266
typeUserRecordFields EQU 'list'
; Prepositions:
keyASPrepositionAt EQU 'at ' ; 0x61742020
keyASPrepositionIn EQU 'in ' ; 0x696e2020
keyASPrepositionFrom EQU 'from' ; 0x66726f6d
keyASPrepositionFor EQU 'for ' ; 0x666f7220
keyASPrepositionTo EQU 'to ' ; 0x746f2020
keyASPrepositionThru EQU 'thru' ; 0x74687275
keyASPrepositionThrough EQU 'thgh' ; 0x74686768
keyASPrepositionBy EQU 'by ' ; 0x62792020
keyASPrepositionOn EQU 'on ' ; 0x6f6e2020
keyASPrepositionInto EQU 'into' ; 0x696e746f
keyASPrepositionOnto EQU 'onto' ; 0x6f6e746f
keyASPrepositionBetween EQU 'btwn' ; 0x6274776e
keyASPrepositionAgainst EQU 'agst' ; 0x61677374
keyASPrepositionOutOf EQU 'outo' ; 0x6f75746f
keyASPrepositionInsteadOf EQU 'isto' ; 0x6973746f
keyASPrepositionAsideFrom EQU 'asdf' ; 0x61736466
keyASPrepositionAround EQU 'arnd' ; 0x61726e64
keyASPrepositionBeside EQU 'bsid' ; 0x62736964
keyASPrepositionBeneath EQU 'bnth' ; 0x626e7468
keyASPrepositionUnder EQU 'undr' ; 0x756e6472
keyASPrepositionOver EQU 'over' ; 0x6f766572
keyASPrepositionAbove EQU 'abve' ; 0x61627665
keyASPrepositionBelow EQU 'belw' ; 0x62656c77
keyASPrepositionApartFrom EQU 'aprt' ; 0x61707274
keyASPrepositionGiven EQU 'givn' ; 0x6769766e
keyASPrepositionWith EQU 'with' ; 0x77697468
keyASPrepositionWithout EQU 'wout' ; 0x776f7574
keyASPrepositionAbout EQU 'abou' ; 0x61626f75
keyASPrepositionSince EQU 'snce' ; 0x736e6365
keyASPrepositionUntil EQU 'till' ; 0x74696c6c
; Terminology & Dialect things:
kDialectBundleResType EQU 'Dbdl' ; 0x4462646c
; AppleScript Classes and Enums:
cConstant EQU 'enum'
cClassIdentifier EQU 'pcls'
cObjectBeingExamined EQU 'exmn'
cList EQU 'list'
cSmallReal EQU 'sing'
cReal EQU 'doub'
cRecord EQU 'reco'
cReference EQU 'obj '
cUndefined EQU 'undf' ; 0x756e6466
cSymbol EQU 'symb' ; 0x73796d62
cLinkedList EQU 'llst' ; 0x6c6c7374
cVector EQU 'vect' ; 0x76656374
cEventIdentifier EQU 'evnt' ; 0x65766e74
cKeyIdentifier EQU 'kyid' ; 0x6b796964
cUserIdentifier EQU 'uid ' ; 0x75696420
cPreposition EQU 'prep' ; 0x70726570
cKeyForm EQU 'kfrm'
cScript EQU 'scpt' ; 0x73637074
cHandler EQU 'hand' ; 0x68616e64
cProcedure EQU 'proc' ; 0x70726f63
cClosure EQU 'clsr' ; 0x636c7372
cRawData EQU 'rdat' ; 0x72646174
cString EQU 'TEXT'
cStringClass EQU 'TEXT'
cNumber EQU 'nmbr' ; 0x6e6d6272
cListOrRecord EQU 'lr ' ; 0x6c722020
cListOrString EQU 'ls ' ; 0x6c732020
cListRecordOrString EQU 'lrs ' ; 0x6c727320
cNumberOrDateTime EQU 'nd ' ; 0x6e642020
cNumberDateTimeOrString EQU 'nds ' ; 0x6e647320
cSeconds EQU 'scnd' ; 0x73636e64
enumBooleanValues EQU 'boov' ; 0x626f6f76
kAETrue EQU 'true'
kAEFalse EQU 'fals'
enumMiscValues EQU 'misc' ; 0x6d697363
kASCurrentApplication EQU 'cura' ; 0x63757261
; User-defined property ospecs:
formUserPropertyID EQU 'usrp' ; 0x75737270
; Global properties:
pASIt EQU 'it ' ; 0x69742020
pASMe EQU 'me ' ; 0x6d652020
pASResult EQU 'rslt' ; 0x72736c74
pASSpace EQU 'spac' ; 0x73706163
pASReturn EQU 'ret ' ; 0x72657420
pASTab EQU 'tab ' ; 0x74616220
pASPi EQU 'pi ' ; 0x70692020
pASParent EQU 'pare' ; 0x70617265
kASInitializeEventCode EQU 'init' ; 0x696e6974
pASPrintLength EQU 'prln' ; 0x70726c6e
pASPrintDepth EQU 'prdp' ; 0x70726470
pASTopLevelScript EQU 'ascr' ; 0x61736372
; Considerations
kAECase EQU 'case' ; 0x63617365
kAEDiacritic EQU 'diac' ; 0x64696163
kAEWhiteSpace EQU 'whit' ; 0x77686974
kAEHyphens EQU 'hyph' ; 0x68797068
kAEExpansion EQU 'expa' ; 0x65787061
kAEPunctuation EQU 'punc' ; 0x70756e63
kAEZenkakuHankaku EQU 'zkhk' ; 0x7a6b686b
kAESmallKana EQU 'skna' ; 0x736b6e61
kAEKataHiragana EQU 'hika' ; 0x68696b61
; AppleScript considerations:
kASConsiderReplies EQU 'rmte' ; 0x726d7465
enumConsiderations EQU 'cons' ; 0x636f6e73
cCoercion EQU 'coec' ; 0x636f6563
cCoerceUpperCase EQU 'txup' ; 0x74787570
cCoerceLowerCase EQU 'txlo' ; 0x74786c6f
cCoerceRemoveDiacriticals EQU 'txdc' ; 0x74786463
cCoerceRemovePunctuation EQU 'txpc' ; 0x74787063
cCoerceRemoveHyphens EQU 'txhy' ; 0x74786879
cCoerceOneByteToTwoByte EQU 'txex' ; 0x74786578
cCoerceRemoveWhiteSpace EQU 'txws' ; 0x74787773
cCoerceSmallKana EQU 'txsk' ; 0x7478736b
cCoerceZenkakuhankaku EQU 'txze' ; 0x74787a65
cCoerceKataHiragana EQU 'txkh' ; 0x74786b68
; Lorax things:
cZone EQU 'zone' ; 0x7a6f6e65
cMachine EQU 'mach' ; 0x6d616368
cAddress EQU 'addr' ; 0x61646472
cRunningAddress EQU 'radd' ; 0x72616464
cStorage EQU 'stor' ; 0x73746f72
; DateTime things:
pASWeekday EQU 'wkdy' ; 0x776b6479
pASMonth EQU 'mnth' ; 0x6d6e7468
pASDay EQU 'day ' ; 0x64617920
pASYear EQU 'year' ; 0x79656172
pASTime EQU 'time' ; 0x74696d65
pASDateString EQU 'dstr' ; 0x64737472
pASTimeString EQU 'tstr' ; 0x74737472
; Months
cMonth EQU 'mnth'
cJanuary EQU 'jan ' ; 0x6a616e20
cFebruary EQU 'feb ' ; 0x66656220
cMarch EQU 'mar ' ; 0x6d617220
cApril EQU 'apr ' ; 0x61707220
cMay EQU 'may ' ; 0x6d617920
cJune EQU 'jun ' ; 0x6a756e20
cJuly EQU 'jul ' ; 0x6a756c20
cAugust EQU 'aug ' ; 0x61756720
cSeptember EQU 'sep ' ; 0x73657020
cOctober EQU 'oct ' ; 0x6f637420
cNovember EQU 'nov ' ; 0x6e6f7620
cDecember EQU 'dec ' ; 0x64656320
; Weekdays
cWeekday EQU 'wkdy'
cSunday EQU 'sun ' ; 0x73756e20
cMonday EQU 'mon ' ; 0x6d6f6e20
cTuesday EQU 'tue ' ; 0x74756520
cWednesday EQU 'wed ' ; 0x77656420
cThursday EQU 'thu ' ; 0x74687520
cFriday EQU 'fri ' ; 0x66726920
cSaturday EQU 'sat ' ; 0x73617420
; AS 1.1 Globals:
pASQuote EQU 'quot' ; 0x71756f74
pASSeconds EQU 'secs' ; 0x73656373
pASMinutes EQU 'min ' ; 0x6d696e20
pASHours EQU 'hour' ; 0x686f7572
pASDays EQU 'days' ; 0x64617973
pASWeeks EQU 'week' ; 0x7765656b
; Writing Code things:
cWritingCodeInfo EQU 'citl' ; 0x6369746c
pScriptCode EQU 'pscd' ; 0x70736364
pLangCode EQU 'plcd' ; 0x706c6364
; Magic Tell and End Tell events for logging:
kASMagicTellEvent EQU 'tell' ; 0x74656c6c
kASMagicEndTellEvent EQU 'tend' ; 0x74656e64
ENDIF
ENDIF ; __ASREGISTRY__